package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * IosBizBillDetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_biz_bill_detail", catalog = "ios")
public class IosBizBillDetail implements java.io.Serializable {

	// Fields

	private Long billDetailId;
	private Long billId;
	private Long account;
	private Float money;
	private String remark;
	private String version;

	// Constructors

	/** default constructor */
	public IosBizBillDetail() {
	}

	/** minimal constructor */
	public IosBizBillDetail(Long billId) {
		this.billId = billId;
	}

	/** full constructor */
	public IosBizBillDetail(Long billId, Long account, Float money,
			String remark, String version) {
		this.billId = billId;
		this.account = account;
		this.money = money;
		this.remark = remark;
		this.version = version;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "native")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "bill_detail_id", unique = true, nullable = false)
	public Long getBillDetailId() {
		return this.billDetailId;
	}

	public void setBillDetailId(Long billDetailId) {
		this.billDetailId = billDetailId;
	}

	@Column(name = "bill_id", nullable = false)
	public Long getBillId() {
		return this.billId;
	}

	public void setBillId(Long billId) {
		this.billId = billId;
	}

	@Column(name = "account")
	public Long getAccount() {
		return this.account;
	}

	public void setAccount(Long account) {
		this.account = account;
	}

	@Column(name = "money", precision = 12, scale = 0)
	public Float getMoney() {
		return this.money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	@Column(name = "remark", length = 300)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "version", length = 10)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

}